
export class ExecState {

    flag: boolean;
    msg: string;

    constructor(flag: boolean, msg: string) {
        this.flag = flag;
        this.msg = msg;
    }
}

export let execState = new ExecState(false, '没有执行');

export function changeState(flag: boolean, msg: string) {
    execState = new ExecState(flag, msg);
}

